package com.zxc.gulimall.order.feign;

import com.zxc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "product-service")
public interface ProductFeignService {
    @GetMapping(value = "/product/spuinfo/skuId/{id}")
    public R getSpuInfoBySkuId(@PathVariable(value = "id")Long skuId);
}
